﻿<navigation:Page xmlns:my2="clr-namespace:OutputTree;assembly=OutputTree"  x:Class="SolutionFramework.Views.Designer" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="800" d:DesignHeight="600"
           Margin="0, 0, 0 ,0" Width="Auto" Height="Auto" 
           Title="Designer Page" Loaded="Page_Loaded" 
           xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" 
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
           xmlns:tv="clr-namespace:MvvmTreeView;assembly=MvvmTreeView" 
           xmlns:sd="clr-namespace:Divelements.SandDock;assembly=Divelements.SandDock"
           xmlns:my="clr-namespace:TreeBuilder;assembly=TreeBuilder"
           xmlns:hydra="clr-namespace:Hydra.Shell.Implementations;assembly=HydraShellClient"
           xmlns:hydraControls="clr-namespace:Hydra.Shell.Controls;assembly=HydraShellClient"
           xmlns:ste="clr-namespace:AbstraX.Editors;assembly=AbstraXDocEditor">
        <Grid x:Name="LayoutRoot" Margin="0, 0, 0 ,0" Width="Auto" Height="Auto" HorizontalAlignment="Stretch" >
            <Grid.RowDefinitions>
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <hydra:HydraDesignerWindow HorizontalAlignment="Stretch" Margin="0" Name="DesignerWindow" VerticalAlignment="Stretch">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" MaxHeight="5000" MinHeight="50" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>

                <hydra:HydraDockSite Grid.Column="0" Grid.Row="0" Name="Workspace" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <hydra:HydraDockedSplitContainer>
                        <hydra:HydraWindowGroup>
                            <hydra:HydraWindowFrame Title="Solution Explorer" Name="SolutionExplorer" />
                            <hydra:HydraWindowFrame Title="Class View" />
                        </hydra:HydraWindowGroup>
                        <hydra:HydraWindowGroup>
                            <hydra:HydraWindowFrame Title="Properties" />
                        </hydra:HydraWindowGroup>
                    </hydra:HydraDockedSplitContainer>
                    <hydra:HydraDockedSplitContainer Dock="Left" ContentSize="200">
                        <hydra:HydraWindowGroup>
                            <hydra:HydraWindowFrame Title="Models">
                                <hydraControls:HydraUIHierarchyWindow HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="ModelsHierarchy" VerticalAlignment="Stretch" DocView="{Binding TreeView}" DataContext="{Binding}" />
                            </hydra:HydraWindowFrame>
                            <hydra:HydraWindowFrame Title="Favorites" />
                        </hydra:HydraWindowGroup>
                        <hydra:HydraWindowGroup>
                            <hydra:HydraWindowFrame Title="Services">
                                <hydraControls:HydraUIHierarchyWindow HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="ServicesHierarchy" VerticalAlignment="Stretch" BorderBrush="{x:Null}" Foreground="{x:Null}" Background="Black" DataContext="{Binding}" />
                            </hydra:HydraWindowFrame>
                            <hydra:HydraWindowFrame Title="View Models" />
                            <hydra:HydraWindowFrame Title="Views" />
                            <hydra:HydraWindowFrame Title="Favorites" />
                        </hydra:HydraWindowGroup>
                    </hydra:HydraDockedSplitContainer>
                    <hydra:HydraDockedSplitContainer Dock="Bottom" ContentSize="150">
                        <hydra:HydraWindowGroup>
                            <hydra:HydraWindowFrame Title="Output" Name="Output">
                                <my2:OutputTreeControl Name="OutputWindow" />
                            </hydra:HydraWindowFrame>
                            <hydra:HydraWindowFrame Title="Inspector" Name="Inspector">
                                <TextBox Name="txtInspectorResults" IsReadOnly="True" TextWrapping="Wrap" FontStretch="Normal" VerticalScrollBarVisibility="Auto" />
                            </hydra:HydraWindowFrame>
                    </hydra:HydraWindowGroup>
                    </hydra:HydraDockedSplitContainer>

                    <hydra:HydraDocumentContainer Margin="2" Name="DocumentContainer">
                        <hydra:HydraWindowGroup>
                            <hydra:HydraDocumentWindow Title="Welcome" />
                            <hydra:HydraDocumentWindow Title="Comments" >
                            <ste:DocEditorControl Name="steDocEditorControl"/>
                            </hydra:HydraDocumentWindow>
                            <hydra:HydraDocumentWindow Title="Tree Builder">
                                    <my:TreeBuilderWindow Name="TreeBuilder" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="0,0,0,0" />
                            </hydra:HydraDocumentWindow>
                        </hydra:HydraWindowGroup>
                    </hydra:HydraDocumentContainer>

            </hydra:HydraDockSite>

            </hydra:HydraDesignerWindow>
        </Grid>
</navigation:Page>
